import com.javabasic.spring.springaop.service.UserService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * @author: 晓帆
 * @description:
 * @create: 2021-06-28 14:14
 **/
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath:application.xml")
public class testdemo {
    @Autowired
    UserService userService;
    @Test
    public void mytest(){
        userService.say();
        userService.sayhello("zhangsan");

    }
}
